package com.wpw.dream.base;

public class ParameterTest {
	
	public static void main(String[] args) {
		Parameter p = new Parameter();
		ParameterTest test = new ParameterTest();
		test.setParameter(p);
		System.out.println(p.getName());
	}
	
	public void setParameter(Parameter p) {
		//p = new Parameter();
		p.setName("cese");
	}
	
	
}

class Parameter {
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}